﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NHibernate;
using NHibernate.Cfg;

namespace EvidenceService.Core
{
    public static class HbmSessionUtil
    {
        private static readonly ISessionFactory mFactory = new Configuration().Configure().BuildSessionFactory();

        public static ISessionFactory GetHbmFactory()
        {
            return mFactory;
        }

    }
}
